package com.test.design.pattern.bulider.demo1;

/**
 * @ClasName MobileBuilder
 * @Descripution TODO 具体的构建者，用来构建摩拜单车对象
 * @Author leikw
 * @Date 2021/11/6 16:56
 * @Version V1.0
 */
public class MobileBuilder extends Builder {

    public void buildFrame() {
        bike.setFrame("碳纤维车架");
    }

    public void buildSeat() {
        bike.setSeat("真皮车座");
    }

    public Bike createBike() {
        return bike;
    }
}
